﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace UI.Usercontrols
{
    public partial class dateselect : DevExpress.XtraEditors.XtraUserControl
    {
        
        public dateselect()
        {
            InitializeComponent();
        }





        private void lue_date_EditValueChanged(object sender, EventArgs e)
        {
            if (lue_date.EditValue!=null)
            {
                dtype d=my.dts.Single(p=>p.id==int.Parse(lue_date.EditValue.ToString()));
                de_sd.EditValue = d.sd;
                de_ed.EditValue = d.ed;
            }
        }
    }
}
